package cn.how2go.common.vo;

import java.io.Serializable;

/**
 * Created by Administrator on 2019/7/15.
 */
public class JT0200 implements Serializable {
    /**
     * 报警标志
     */
    private Warnning alarmFlag;
    /**
     * 状态
     */
    private Status status;
    /**
     * 位置
     */
    private Location location;
    /**
     * SimNO
     */
    private String simno;
    /**
     * 上报时间
     */
    private String time;
    /**
     * 扩展报文
     */
    private Expand expand;

    private Integer carid;

    public JT0200() {
    }

    public JT0200(String simno, String time,  Location location, Warnning alarmFlag, Status status,  Expand expand) {
        this.alarmFlag = alarmFlag;
        this.status = status;
        this.location = location;
        this.simno = simno;
        this.time = time;
        this.expand = expand;
    }

    public Warnning getAlarmFlag() {
        return alarmFlag;
    }

    public void setAlarmFlag(Warnning alarmFlag) {
        this.alarmFlag = alarmFlag;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public String getSimno() {
        return simno;
    }

    public void setSimno(String simno) {
        this.simno = simno;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Expand getExpand() {
        return expand;
    }

    public void setExpand(Expand expand) {
        this.expand = expand;
    }

    public Integer getCarid() {
        return carid;
    }

    public void setCarid(Integer carid) {
        this.carid = carid;
    }

    @Override
    public String toString() {
        return "JT0200{" +
                "[" + alarmFlag.toString() +
                "],[" + status.toString() +
                "],[" + location.toString() +
                "],[" + simno  +
                "],[" + time  +
                "],[" + expand.toString() +
                "]}";
    }
}
